package com.cesgroup.zw.spring.boot.library.echarts.pie.complex;

import com.cesgroup.zw.spring.boot.charts.model.IChartsParam;
import com.cesgroup.zw.spring.boot.charts.model.IComponent;
import lombok.Builder;
import lombok.Data;

/**
 * @author ytj
 * @date 2019/7/4 15:12
 */
@Builder
@Data
@SuppressWarnings("serial")
public class ComplexPieParam implements IChartsParam<ComplexPieSeries,Object[]> {
    private Object[] dataset;
    private String[] color;
    @Override
    public IComponent[] getSeries() {
        return new ComplexPieSeries[]{new ComplexPieSeries(),new ComplexPieSeries(this),new ComplexPieSeries("param")};
    }
}
